const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  user: state => state.user.user,
  roles:state => state.user.roles,
  reddot:state => state.settings.reddot,
  dataId:state => state.settings.dataId,
  sidebarRouters: state => state.permission.sidebarRouters,
}
export default getters
